home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / misc / unix / adt-passive.readme < prev    next >
Encoding:
Text File  |  2002-05-28  |  1.3 KB  |  33 lines

  1. Short:    Passive FTP mode patch for ADT
  2. Author:   Stuart Caie <kyzer@4u.net>
  3. Uploader: Stuart Caie <kyzer@4u.net>
  4. Type:     misc/unix
  5.  
  6. This is a patch to the current ADT (Aminet Download Tool) source code, so
  7. that you can choose to use "passive FTP".
  8.  
  9. Installation:
  10. - download misc/unix/adt.c from Aminet (currently version 2.6)
  11. - run "patch -p0 < adt-passive.patch"
  12. - compile and install adt as usual
  13. - delete your ~/.adtrc file if you have one
  14. - run adt and pick the new "Passive FTP" mode
  15.  
  16. Background:
  17.  
  18. FTP is an old protocol. To recieve a file from an FTP server, an FTP client
  19. like ADT normally has to act as a "server" itself, and offer a port for the
  20. FTP server to "connect back" to.
  21.  
  22. However, many people get internet connectivity by going through a firewall,
  23. and while firewalls usually let any connections through if they're from
  24. inside the wall connecting to the outside, the reverse is not true. To a
  25. firewall, an FTP server's attempt to "connect back" is an unrequested
  26. intrusion, so it is blocked.
  27.  
  28. However, there is a way around this. The client can request a "passive"
  29. data connection, where the server opens another port and the client
  30. connects to that for the data connection. The dumb firewalls see this as
  31. yet another outgoing connection from the client, and don't block it. An FTP
  32. server isn't required to offer passive FTP, but most do.
  33.